package com.manage.system.api.request.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author zhangqing
 * @version V1.0
 * @description 登录请求参数
 * @date 13/3/2021 8:39 PM
 */
@Data
public class LoginParam {
    @NotEmpty(message = "登录名不能为空")
    @ApiModelProperty(value = "登录名",required = true)
    private String loginName;

    @NotEmpty(message = "密码不能为空")
    @ApiModelProperty(value = "密码",required = true)
    private String password;
}
